<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function getArea(r){
            return Math.PI*Math.pow(r,2);
        }
        function getLong(r){
            return 2*Math.PI*r;
        }
        let s = getArea(5);
        let c = getLong(5);

        console.log('半径为5的圆的面积是：'+s);
        console.log('半径为5的圆的周长是：'+c);
    </script>
</body>
</html>

